<?php
class OrderAction extends CommonAction {
	public function cancel(){
		M('Order') -> where(array('timeout' => array('lt', time()), 'status' => 1)) -> save(array('status' => 0));
		F('cs', date('Y-m-d H:i:s'));
	}
}